data = {
    issuedTime: "",
    expiryTime: "2020-07-18 16:09:00",
    licenseCheck: {
        productName: "测试版本",
        version: "1.0",
        companyName: "codeName",
        ipCheck: false,
        ipAddress: [
            " 192.168.30.85", "192.168.10.4"
        ],
        macCheck: false,
        macAddress: [
            "18-31-BF-1C-4A-CB", "50-7B-9D-F9-18-41"
        ],
        cpuSerial: "BFEBFBFF000406E3",
        mainBoardSerial: "L1HF65E00X9",
        pcCheck: false,
        pcNum: 4,
        appCheck: true,
        appNum: 0,
        menuCheck: true,
        menu: [
            "10", "11", "12"
        ]

    }

}


$("#lice").click(function () {
    $.ajax({
        url: "/license/generateLicense",
        type: 'post',
        contentType: 'application/json;charset=UTF-8',
        data: JSON.stringify(data),
        headers: {"token": 'f45fed8b1b5bb45ae07d75e1179b1f3b'},
        success: function () {

        }
    })

})






